﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class arenaTeam

        Private strBattleGroup As String
        Private strCreated As String
        Private strFaction As String
        Private intFactionID As Integer
        Private intGamesPlayed As Integer
        Private intGamesWon As Integer
        Private intLastSeasonRanking As Integer
        Private strName As String
        Private intRanking As Integer
        Private intRating As Integer
        Private strRealm As String
        Private strRealmURL As String
        Private intSeasonGamesPlayed As Integer
        Private intSeasonGamesWon As Integer
        Private intSize As Integer
        Private intTeamSize As Integer
        Private strTeamURL As String
        Private strURL As String
        Private eEmblem As New List(Of emblem)
        Private mMembers As New List(Of members)

        <XmlAttribute()> Public Property battleGroup() As String
            Get
                Return strBattleGroup
            End Get
            Set(ByVal value As String)
                strBattleGroup = value
            End Set
        End Property

        <XmlAttribute()> Public Property created() As String
            Get
                Return strCreated
            End Get
            Set(ByVal value As String)
                strCreated = value
            End Set
        End Property

        <XmlAttribute()> Public Property faction() As String
            Get
                Return strFaction
            End Get
            Set(ByVal value As String)
                strFaction = value
            End Set
        End Property

        <XmlAttribute()> Public Property factionId() As Integer
            Get
                Return intFactionID
            End Get
            Set(ByVal value As Integer)
                intFactionID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gamesPlayed() As Integer
            Get
                Return intGamesPlayed
            End Get
            Set(ByVal value As Integer)
                intGamesPlayed = value
            End Set
        End Property

        <XmlAttribute()> Public Property gamesWon() As Integer
            Get
                Return intGamesWon
            End Get
            Set(ByVal value As Integer)
                intGamesWon = value
            End Set
        End Property

        <XmlAttribute()> Public Property lastSeasonRanking() As Integer
            Get
                Return intLastSeasonRanking
            End Get
            Set(ByVal value As Integer)
                intLastSeasonRanking = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property ranking() As Integer
            Get
                Return intRanking
            End Get
            Set(ByVal value As Integer)
                intRanking = value
            End Set
        End Property

        <XmlAttribute()> Public Property rating() As Integer
            Get
                Return intRating
            End Get
            Set(ByVal value As Integer)
                intRating = value
            End Set
        End Property

        <XmlAttribute()> Public Property realm() As String
            Get
                Return strRealm
            End Get
            Set(ByVal value As String)
                strRealm = value
            End Set
        End Property

        <XmlAttribute()> Public Property realmUrl() As String
            Get
                Return strRealmURL
            End Get
            Set(ByVal value As String)
                strRealmURL = value
            End Set
        End Property

        <XmlAttribute()> Public Property seasonGamesPlayed() As Integer
            Get
                Return intSeasonGamesPlayed
            End Get
            Set(ByVal value As Integer)
                intSeasonGamesPlayed = value
            End Set
        End Property

        <XmlAttribute()> Public Property seasonGamesWon() As Integer
            Get
                Return intSeasonGamesWon
            End Get
            Set(ByVal value As Integer)
                intSeasonGamesWon = value
            End Set
        End Property

        <XmlAttribute()> Public Property size() As Integer
            Get
                Return intSize
            End Get
            Set(ByVal value As Integer)
                intSize = value
            End Set
        End Property

        <XmlAttribute()> Public Property teamSize() As Integer
            Get
                Return intTeamSize
            End Get
            Set(ByVal value As Integer)
                intTeamSize = value
            End Set
        End Property

        <XmlAttribute()> Public Property teamUrl() As String
            Get
                Return strTeamURL
            End Get
            Set(ByVal value As String)
                strTeamURL = value
            End Set
        End Property

        <XmlAttribute()> Public Property url() As String
            Get
                Return strURL
            End Get
            Set(ByVal value As String)
                strURL = value
            End Set
        End Property

        <XmlElement()> Public Property emblem() As List(Of emblem)
            Get
                Return eEmblem
            End Get
            Set(ByVal value As List(Of emblem))
                eEmblem = value
            End Set
        End Property

        <XmlElement()> Public Property members() As List(Of members)
            Get
                Return mMembers
            End Get
            Set(ByVal value As List(Of members))
                mMembers = value
            End Set
        End Property

    End Class

End Namespace